]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Adjust dash icon spacing
authorJakub Steiner <jimmac@gmail.com>
Thu, 4 Feb 2021 12:26:23 +0000 (13:26 +0100)
committerJakub Steiner <jimmac@gmail.com>
Thu, 4 Feb 2021 16:16:50 +0000 (17:16 +0100)
- slight separation between favorites and the app-well icon

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3640

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1634>

data/theme/gnome-shell-sass/widgets/_dash.scss

index a1f6249cca928538b19b4163f485efb1807b0d7a..fb720acbe142388b1775724b908c855b0715c01f 100644 (file)
@@ -27,13 +27,17 @@ $dash_border_radius: $modal_radius * 1.5;
 }
 
 // Dash Items
-.dash-item-container > StWidget {
-  padding: ($dash_spacing / 2) $dash_spacing;
+.dash-item-container {
+  & > StWidget {
+     padding: ($dash_spacing / 2) 0; //all compact
+  }
 }
 
-.dash-separator {
-  width: 1px;
-  background-color: transparentize($osd_fg_color,0.7);
+.app-well-app:first-child {
+  padding-left: $dash_spacing; //first one padded
+}
+.show-apps:last-child { //last one padded slightly from the favorites
+  padding: ($dash_spacing / 2) $dash_spacing ($dash_spacing / 2) ($dash_spacing / 2);
 }
 
 // OSD Tooltip